package com.diors.autocode;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

import com.diors.autocode.xml.XmlDataManager;
import com.diors.commons.config.xmlbean.XmlEngine;

/**
 * 自动生成代码Main类
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-21
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
public class AutoCodeMain 
{
	
	private static final Logger log = Logger.getLogger(AutoCodeMain.class);
	
	public static void main(String[] args) 
	{
		PropertyConfigurator.configure("./log/log4j.properties");
		
		log.info("<========================= 自动生成代码启动 =========================>");
		
		XmlEngine.load(new XmlDataManager());
		log.info("command XML数据初始化完毕！！");
	}
	
}
